<template>
	<div>
		{{ butatxt }}
		<input type="button" value="aaaaa" @click="but">
	</div>
</template>

<script>
	import bus from './but'
	export default {
		name: "buta",
		components: {},
		computed: {},
		data() {
			return {
				butatxt:['aaaaa','buta']
			}
		},
		methods: {
			but(){
				bus.$emit('data-m',this.butatxt)
			}
		},
		mounted() {
		}
	}
</script>

<style scoped lang="">

</style>